<?php

/**
 * Test helper
 */
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php';

if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'SmartLSuite-auto-called-by-IDE');
}

require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'SmartL/AllTests.php';

/**
 * Static test suite.
 */
class SmartLSuite extends PHPUnit_Framework_TestSuite {
	
	/**
	 * Constructs the test suite handler.
	 */
	public function __construct() {
		$this->setName ( 'SmartLSuite' );		
		$this->addTestSuite ( 'SmartL_AllTests' );	
	}
	
	/**
	 * Creates the suite.
	 */
	public static function suite() {
		return new self ( );
	}
}

